# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-virtualjaguar
pkgver=0_git20200107
pkgrel=0
_commit="a162fb75926f5509f187e9bfc69958bced40b0a6"
pkgdesc="port of Virtual Jaguar to Libretro"
url="https://github.com/libretro/virtualjaguar-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/virtualjaguar-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/virtualjaguar-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 virtualjaguar_libretro.so "$pkgdir"/usr/lib/libretro/virtualjaguar_libretro.so
}

sha512sums="e5dcd60f594fdc6657da215a7516a273561de7499bf7a248e08560c370c09fa828c2404c9f32760ca40960f046435de6d482b3041f08b119a109a907378add33  libretro-virtualjaguar-a162fb75926f5509f187e9bfc69958bced40b0a6.tar.gz"
